package social_network.entities;

import java.util.List;

/**
 * Author: Aleksey Alekseenko
 * Date: 14.07.13
 */
public class Film {

    private int id;
    private String imdb_id;
    private String title;
    private String country;
    private double rating_imdb;
    private int year;
    private String summary;
    private String imdb_url;
    private List<Member> directors;
    private List<Genre> genres;
    private List<Member> actors;

    public Film (int id, String imdb_id, String title, String country, double rating_imdb, int year,
                  String summary, String imdb_url, List<Member> directors, List<Genre> genres, List<Member> actors) {
        this.id = id;
        this.imdb_id = imdb_id;
        this.title = title;
        this.country = country;
        this.rating_imdb = rating_imdb;
        this.year = year;
        this.summary = summary;
        this.imdb_url = imdb_url;
        this.actors = actors;
        this.directors = directors;
        this.genres = genres;
    }

    public int getId() {
        return id;
    }

    public String getImdb_id() {
        return imdb_id;
    }

    public String getTitle() {
        return title;
    }

    public String getCountry() {
        return country;
    }

    public double getRating_imdb() {
        return rating_imdb;
    }

    public int getYear() {
        return year;
    }

    public String getSummary() {
        return summary;
    }

    public String getImdb_url() {
        return imdb_url;

    } public List<Member> getDirectors() {
        List<Member> copyDirectors = directors;
        return copyDirectors;
    }

    public List<Genre> getGenres() {
        List<Genre> copyGenres = genres;
        return copyGenres;
    }

    public List<Member> getActors() {
        List<Member> copyActors = actors;
        return copyActors;
    }


}
